#ifndef SOUND_H
#define SOUND_H

#include <SDL/SDL.h>
#include "SDL/SDL_mixer.h"

#define NUM_SOUNDS		6
#define SND_EXPLOS		0
#define SND_AMB			1
#define SND_LASER		2
#define SND_ZIP			3
#define SND_SHIELD		4
#define SND_MISSILE		5

using namespace std;

class Sound{

	public:
		Sound();
		~Sound();
		Mix_Chunk * loadSound(char * path);
		void playSound(int snd, int loopCount);

	private:
		int audio_rate, audio_channels, audio_buffers;
		int audio_format;
		Mix_Chunk	*chunks[NUM_SOUNDS];

};


#endif
